Application of de Moivres Theorem